package cn.com.connected.service;

import cn.com.connected.entity.DynamicEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.com.connected.base.params.page.BaseSearchDto;
import cn.com.connected.base.params.page.PageResult;
import cn.com.connected.dto.DynamicDto;
import cn.com.connected.dto.search.DynamicSearchDto;
import cn.com.connected.vo.DynamicVo;

/**
 * 动态
 *
 * @author sms
 * @email sms@live.com
 * @date 2025-04-10 16:15:14
 */
public interface DynamicService extends IService<DynamicEntity>{

    DynamicVo dynamicAdd(DynamicDto dynamicDto);

    void dynamicEdit(String id,DynamicDto dynamicDto);

    DynamicVo dynamicInfo(String id);

    void dynamicDel(String id);

    PageResult<DynamicVo> dynamicPage(BaseSearchDto<DynamicSearchDto> searchParams);

}

